import React from 'react'
import WNavBar from '@components/global/navBar'
import WJumpCell from '@components/global/jumpCell'
// @ts-ignore
import Styles from './index.scss'
import WUser from '@components/set/user'

interface PopInterface {
  title: string
}

const SetPage = (props: PopInterface) => {

  return (
    <WNavBar title={props.title} back={false}>
      <>
        <WUser />
        <WJumpCell subTitle="QQ" line={true} toPath="/OAuth">第三方登录</WJumpCell>
      </>
    </WNavBar>
  )
}

SetPage.getInitialProps = async () => {
  return {
    title: '设置',
    layout: {
      type: 'tabBar',
      tabBar: 'set'
    }
  }
}

export default SetPage
